import pymongo

def kill_column(kill_dateset, kill_column_cp):
    client = pymongo.MongoClient("mongodb://localhost:27017/")
    db = client["ACM_MEMBER"]
    collections = db[kill_dateset]

    collections.update_many({}, {"$unset": {kill_column_cp: 1}})


if __name__ == '__main__':
    kill_dateset = "CODEFORCES_INFORMATION"
    kill_column_cp = "rating"
    kill_column(kill_dateset, kill_column_cp)
